/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.dao;

import java.util.List;

import com.sigmatrix.h5.dao.impl.common.BaseDao;
import com.sigmatrix.h5.entity.DismantlePileStack;
import com.sigmatrix.h5.exception.DaoException;

/**
 * @ClassName: DismantlePileStackDao
 * @Description: 拆组垛数据库操作接口
 * @author youjun 
 * @date 2017-08-17 20:37:22
 */
public interface DismantlePileStackDao extends BaseDao<DismantlePileStack> {

	/**
	 * @Title: findById
	 * @Description: 根据主键查找拆组垛
	 * @return DismantlePileStack
	 * @author youjun 
	 * @date 2017-08-17 20:37:22
	 * @param id
	 * @param enterpriseCode
	 * @return
	 * @throws DaoException
	 */
	DismantlePileStack findById(final Long id, final String enterpriseCode) throws DaoException;

	/**
	 * @Title: save
	 * @Description: 保存拆组垛
	 * @return int
	 * @author youjun 
	 * @date 2017-08-17 20:37:22
	 * @param dismantlePileStack
	 * @return
	 * @throws DaoException
	 */
	int save(final DismantlePileStack dismantlePileStack, final String enterpriseCode) throws DaoException;

	/**
	 * @Title: update
	 * @Description: 更新拆组垛
	 * @return int
	 * @author youjun 
	 * @date 2017-08-17 20:37:22
	 * @param dismantlePileStack
	 * @return
	 * @throws DaoException
	 */
	int update(final DismantlePileStack dismantlePileStack, final String enterpriseCode) throws DaoException;

	/**
	 * @Title: findListByCondition
	 * @Description: 根据条件查找拆组垛列表
	 * @return List<DismantlePileStack>
	 * @author youjun 
	 * @date 2017-08-17 20:37:22
	 * @param dismantlePileStack
	 * @return
	 * @throws DaoException
	 */
	List<DismantlePileStack> findListByCondition(final DismantlePileStack dismantlePileStack, final String enterpriseCode)
			throws DaoException;
}
